From 9d1864c094b2b99df94f71f76f92bf2ad2d778d1 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Fri, 18 Aug 2017 11:30:55 +0200 Subject: [PATCH] Add patch for PCL_ROOT --- debian/patches/0001-Fix-PCL_ROOT-path.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/0001-Fix-PCL_ROOT-path.patch create mode 100644 debian/patches/series diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch new file mode 100644 index 00000000..bf37a4dc --- /dev/null +++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch @@ -0,0 +1,21 @@ +From: Jochen Sprickerhof +Date: Fri, 18 Aug 2017 11:30:38 +0200 +Subject: Fix PCL_ROOT path + +--- + PCLConfig.cmake.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in +index f4ef6a0..aa3e000 100644 +--- a/PCLConfig.cmake.in ++++ b/PCLConfig.cmake.in +@@ -717,7 +717,7 @@ if(WIN32 AND NOT MINGW) + get_filename_component(PCL_ROOT "${PCL_DIR}" PATH) + else(WIN32 AND NOT MINGW) + # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y +- get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) ++ get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) + endif(WIN32 AND NOT MINGW) + + # check whether PCLConfig.cmake is found into a PCL installation or in a build tree diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..1ae14fe8 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Fix-PCL_ROOT-path.patch -- 2.30.2